package by.home;


public class TreasureFinder {

    private int positionX = 0, positionY = 0;

    public TreasureFinder(int finderPositionX, int finderPositionY) {
        this.positionX = finderPositionX;
        this.positionY = finderPositionY;
    }

    public int getPositionX() {
        return positionX;
    }

    public void setPositionX(int positionX) {
        this.positionX = positionX;
    }

    public void setPositionY(int positionY) {
        this.positionY = positionY;
    }

    public int getPositionY() {
        return positionY;
    }
}
